Skip to content

Drop Python 3.8 #646

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
simonw opened this issue Nov 23, 2024 · 2 comments
Closed

Drop Python 3.8 #646

simonw opened this issue Nov 23, 2024 · 2 comments
Labels
ci enhancement New feature or request

Comments

@simonw
Copy link
Owner

simonw commented Nov 23, 2024

It's time. EOL was a month ago: https://devguide.python.org/versions/

@simonw simonw added enhancement New feature or request ci labels Nov 23, 2024
simonw added a commit that referenced this issue Nov 23, 2024
@simonw
Copy link
Owner Author

simonw commented Nov 23, 2024

Today's 3.38 release still supports 3.8 (tests pass and it's marked as supporting it in the setup.py metadata) but I won't be supporting 3.8 in future releases.

python_requires=">=3.9",

@simonw
Copy link
Owner Author

simonw commented Nov 23, 2024

I can remove this note from the docs too:

Python 3.8 added the ability to register `deterministic SQLite functions <https://sqlite.org/deterministic.html>`__, allowing you to indicate that a function will return the exact same result for any given inputs and hence allowing SQLite to apply some performance optimizations. You can mark a function as deterministic using ``deterministic=True``, like this:
.. code-block:: python
@db.register_function(deterministic=True)
def reverse_string(s):
return "".join(reversed(list(s)))
If you run this on a version of Python prior to 3.8 your code will still work, but the ``deterministic=True`` parameter will be ignored.

simonw added a commit that referenced this issue Nov 23, 2024
@simonw simonw closed this as completed in 04107d3 Nov 23, 2024
simonw added a commit that referenced this issue May 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant